package com.cloud.order.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
* 代码生成配置表(GeneratorConfig) 实体类
*
* @author zhangxun
* @since 2020-08-24
*/
@Data
@TableName(value = "generator_config")
public class GeneratorConfig implements Serializable {
    private static final long serialVersionUID=1L;
    /*** 主键*/
    @TableId(type = IdType.AUTO)
    private Integer id;

    /*** 作者*/
    @TableField("author")
    private String author;

    /*** 基础包名*/
    @TableField("base_package")
    private String basePackage;

    /*** entity文件存放路径*/
    @TableField("entity_package")
    private String entityPackage;

    /*** mapper文件存放路径*/
    @TableField("mapper_package")
    private String mapperPackage;

    /*** mapper xml文件存放路径*/
    @TableField("mapper_xml_package")
    private String mapperXmlPackage;

    /*** servcie文件存放路径*/
    @TableField("service_package")
    private String servicePackage;

    /*** serviceImpl文件存放路径*/
    @TableField("service_impl_package")
    private String serviceImplPackage;

    /*** controller文件存放路径*/
    @TableField("controller_package")
    private String controllerPackage;

    /*** 是否去除前缀 1是 0否*/
    @TableField("is_trim")
    private String isTrim;

    /*** 前缀内容*/
    @TableField("trim_value")
    private String trimValue;

}